package com.ts.animal.dao;

import com.ts.animal.domain.WarningSetDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 预警配置表
 *
 * @author bobby
 * @email bobby@126.com
 * @date 2022-09-02 16:18:40
 */
@Mapper
public interface WarningSetDao {

    WarningSetDO get(String animalType);

    List<WarningSetDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(WarningSetDO warningSet);

    int update(WarningSetDO warningSet);

    int remove(String animal_type);

    int batchRemove(String[] animalTypes);
}
